package com.huangliusong.form;

import org.hibernate.validator.constraints.NotEmpty;

public class OrderForm {
	/**
	 * 送货地址
	 */
	@NotEmpty(message = "送货地址不能为空")
	private String sendAddr;
	/**
	 * 收货地址
	 */
	@NotEmpty(message = "收货地址不能为空")
	private String receiveAddr;
	/**
	 * 配送模式
	 */
	@NotEmpty(message = "配送模式不能为空")
	private String deliveryMode;
	/**
	 * 配送时间
	 */
	@NotEmpty(message = "配送时间不能为空")
	private String pickTime;
	/**
	 * 物品价值
	 */
	@NotEmpty(message = "物品价值不能为空")
	private String goodValue;
	/**
	 * 物品重量
	 */
	@NotEmpty(message = "物品重量不能为空")
	private String goodWeight;
	/**
	 * 物品类型
	 */
	@NotEmpty(message = "物品类型不能为空")
	private String goodType;
	/**
	 * 物品详细描述
	 */
	@NotEmpty(message = "物品详细描述不能为空")
	private String goodDesc;
	/**
	 * 图片地址
	 */
	private String goodImgBase;
	/**
	 * 微信open_id
	 */
	@NotEmpty(message = "微信open_id不能为空")
	private String openId;
	/**
	 * 订单总金额
	 */
	@NotEmpty(message = "订单总金额不能为空")
	private String orderAmount;

	public String getSendAddr() {
		return sendAddr;
	}

	public void setSendAddr(String sendAddr) {
		this.sendAddr = sendAddr;
	}

	public String getReceiveAddr() {
		return receiveAddr;
	}

	public void setReceiveAddr(String receiveAddr) {
		this.receiveAddr = receiveAddr;
	}

	public String getDeliveryMode() {
		return deliveryMode;
	}

	public void setDeliveryMode(String deliveryMode) {
		this.deliveryMode = deliveryMode;
	}

	public String getPickTime() {
		return pickTime;
	}

	public void setPickTime(String pickTime) {
		this.pickTime = pickTime;
	}

	public String getGoodValue() {
		return goodValue;
	}

	public void setGoodValue(String goodValue) {
		this.goodValue = goodValue;
	}

	public String getGoodWeight() {
		return goodWeight;
	}

	public void setGoodWeight(String goodWeight) {
		this.goodWeight = goodWeight;
	}

	public String getGoodType() {
		return goodType;
	}

	public void setGoodType(String goodType) {
		this.goodType = goodType;
	}

	public String getGoodDesc() {
		return goodDesc;
	}

	public void setGoodDesc(String goodDesc) {
		this.goodDesc = goodDesc;
	}

	public String getGoodImgBase() {
		return goodImgBase;
	}

	public void setGoodImgBase(String goodImgBase) {
		this.goodImgBase = goodImgBase;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(String orderAmount) {
		this.orderAmount = orderAmount;
	}

	@Override
	public String toString() {
		return "OrderForm [sendAddr=" + sendAddr + ", receiveAddr=" + receiveAddr + ", deliveryMode=" + deliveryMode
				+ ", pickTime=" + pickTime + ", goodValue=" + goodValue + ", goodWeight=" + goodWeight + ", goodType="
				+ goodType + ", goodDesc=" + goodDesc + ", goodImgBase=" + goodImgBase + ", openId=" + openId
				+ ", orderAmount=" + orderAmount + "]";
	}

}
